package com.jhc.entity;

import java.time.LocalDateTime;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.jhc.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 学生宿舍关系表 
 * </p>
 *
 * @author zhengyue
 * @since 2020-03-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class BacStuDorm extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 学生number
     */
    private String stuNumber;

    /**
     * 寝室id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long dormId;


}
